<template>
    <van-nav-bar class="app-header">
    <template #left>
      <router-link to="/city">城市</router-link>
    </template>
    <template #title>
      <router-link to="/search">v我50</router-link>
    </template>
    <template #right>
      <!-- <router-link to="/login">登录</router-link> -->
      <router-link to="/user">我的</router-link>
    </template>
  </van-nav-bar>
  </template>
  
  <script setup lang="ts">
  import { ref } from "vue";
  const onClickLeft=()=>{
    console.log(111);
  };
  const onClickRight=()=>{
    console.log(222);
  }

  </script>
  
<style lang="scss" scoped>

</style>
  